package com.ddxcloud.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddxcloud.movie.data.dto.PayDTO;
import com.ddxcloud.movie.data.entity.PaymentOrder;

import javax.servlet.http.HttpServletRequest;

public interface PaymentOrderService extends IService<PaymentOrder> {

    PaymentOrder createPaymentOrder(PayDTO dto, HttpServletRequest request);

    Boolean updatePaymentOrderForPaySuccess(PaymentOrder paymentOrder);
}
